package com.cl.pattern.prototype.deep;

import com.cl.pattern.prototype.TestObj;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName ProtoType
 * @Description
 * @Author Small
 * @Date 2020/6/16 15:22
 * @Version 1.0
 **/
public abstract class ProtoType implements Cloneable, Serializable {

    protected String name;

    protected List<String> roles;

    protected TestObj testObj;

    public TestObj getTestObj() {
        return testObj;
    }

    public void setTestObj(TestObj testObj) {
        this.testObj = testObj;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public ProtoType(String name) {
        this.name = name;
    }


}
